package com.hqyj.role.service;

import com.hqyj.role.dto.RoleInfo;
import com.hqyj.role.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hqyj.utils.ResultUtils;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sdx2009
 * @since 2022-10-08
 */
public interface RoleService extends IService<Role> {

    ResultUtils SelectRolePower();

    ResultUtils queryPowerByRole(RoleInfo roleInfo);

    ResultUtils queryAllPower();

    ResultUtils updateRole(RoleInfo roleInfo);

    ResultUtils addRole(RoleInfo roleInfo);

    ResultUtils deleteRole(RoleInfo roleInfo);

}
